//
//  CYURL.m
//  CreditAddressBook
//
//  Created by Lee on 15/4/27.
//  Copyright (c) 2015年 Lee. All rights reserved.
//

#import "CYURL.h"

#define CYServletPath(p) [CYSTATICPATH stringByAppendingString:p]
#define CYUserServletPath(p) [CYUSERSTATICPATH stringByAppendingString:p]
#define CYUserBaseServletPath(p) [CYUSERBASESTATICPATH stringByAppendingString:p]
#define CYCloudPath(p) [CYSTATICPATHCLOUD stringByAppendingString:p]
#define CYAssetPath(p) [CYSTATICASSETPATH stringByAppendingString:p]
#define CYCuishouPath(p) [CYCUISHOUPATH stringByAppendingString:p]

//http://www.credit-manage.com/
//http://192.168.0.199:8080   http://www.credit-manage.com
#define CYSTATICPATH @"http://www.credit-manage.com/phone"//黑名单系统
#define CYUSERSTATICPATH @"http://www.credit-manage.com:8058/phone"//用户系统

#define CYUSERBASESTATICPATH @"http://www.credit-manage.com:8058"//用户系统,webapp
#define CYSTATICPATHCLOUD @"http://www.credit-manage.com:8066/cloudsys"//云系统
//新图片服务器:http://image.credit-manage.com 老图片服务器:http://www.credit-manage.com/common
#define CYUPLOADPATH @"http://image.credit-manage.com:8058/upload"//所有图片上传
#define CYCUISHOUPATH @"http://cuishou.credit-manage.com" //催收系统

//=================测试服务器地址================//


//新图片服务器:http://image.credit-manage.com 老服务器服务器:http://www.credit-manage.com:8058
//#define CYUSERUPLOADPATH @"http://image.credit-manage.com/upload"//用户图片上传
//#define CYUSERUPLOADPATH @"http://192.168.0.126:8058/common/upload"//用户头像图片上传测试
//#define CYUPLOADPATH @"http://192.168.0.126:8058/common"//黑名单图片上传测试
//179  180ztt
//#define CYSTATICPATHCLOUD @"http://192.168.0.180:8066/cloudsys" //云系统测试
//#define CYUSERSTATICPATH @"http://192.168.0.184:8058/phone"//用户系统测试LLK
//#define CYUSERSTATICPATH @"http://192.168.0.254:8080/phone"//254新系统测试
//#define CYUSERSTATICPATH @"http://192.168.0.101:8058/phone"//用户系统测试ZTTZTT112.117.24.223:8058   192.168.0.172:8058 Mkg:http://192.168.0.105:8080/app

//#define CYUSERSTATICPATH @"http://192.168.0.200:8058/phone"//用户系统测试


//#define CYCUISHOUPATH @"http://192.168.0.105:8080" //催收测试

//#define CYSTATICPATH @"http://192.168.0.252:80/phone"//黑名单系统测试
//#define CYSTATICPATH @"http://192.168.0.254"//黑名单新系统测试

//#define CYSTATICASSETPATH @"http://192.168.0.135:8080/phone/payBack/"
#define CYSTATICASSETPATH @"http://www.192.169.0.199:8080/phone/"//财富中心测试
//#define CYSTATICASSETPATH @"http://localhost:8080/phone/payBack/"

#define CYLOGINPATH @"/login.htm"//登录
#define CYREGEDITPATH @"/reg.htm"//注册
#define CYCHECKUSERNAMEPATH @"/checkPhone.htm"//检查用户名是否可用
#define CYSENDSMSPATH @"/sendSms.htm"//发送短信验证码
#define CYFINDPASSWORDPATH @"/findPassword.htm"//找回密码
#define CYMODIFYPASSWORDPATH @"/modifyPassword.htm"//修改密码
#define CYUPDATAUSERPATH @"/updateUser.htm" //修改用户头像和昵称
#define CYUSERPATH @"/getUser.htm" //获取用户信息
#define CYUPDATAHEADPICPATH @"/uploadHeadPic.htm" //上传用户头像
#define CYUPLOADPICPATH @"/uploadPic.htm"//上传黑名单图片
#define CYSAVEUSERPATH @"/saveUser.htm" //更新用户审核信息
#define CYNEWDEFAULTSPATH @"/getNewDefaults.htm"//获得最新的20条记录
#define CYDEFAULTRECORDSSEARCHPATH @"/getDefaultRecordsBySearch.htm"//根据身份证号、姓名、号码等进行查询
#define CYDEFAULTRECORDSPATH @"/getDefaultRecords.htm"//根据电话号码组获取黑名单信息
#define CYDEFAULTRECORDSBYIDPATH @"/getDefaultRecordsByDefaultId.htm"//根据ID黑名单信息
#define CYTOTALCOUNTPATH @"/getTotalCount.htm"//获取总记录数
#define CYYSDEFAULTPERSONSPATH @"/getYsDefaultPersons.htm"//疑似失信人
#define CYDEFAULTRECORDSBYNAMEPATH @"/getDefaultRecordsByName.htm"//根据姓名匹配失信人
#define CYPAYBACKSPATH @"/getPayBacks.htm"//还款展示
#define CYIMAGESELECTPAGEPATH @"/imageSelectPage.htm"//通讯录图片搜索
#define CYIMAGESELECTONEPATH @"/imageSelectOne.htm"//通讯录图片搜索
#define CYSAVEDEFAULTRECORDPATH @"/saveDefaultRecord.htm"//违约发布
#define CYEDITDEFAULTRECORDPATH @"/editDefault.htm"//编辑违约记录
#define CYDELDEFAULTRECORDPATH @"/delRecord.htm"//删除违约记录
#define CYCANCELDEFAULTRECORDPATH @"/cancelRecord.htm"//撤销违约记录
#define CYPICSDEFAULTRECORDPATH @"/getDefaultPics.htm"//获取违约记录图片
#define CYSUBMITDEFAULTRECORDPATH @"/submitRecord.htm"//提交违约记录到审核
#define CYENTRYUIPATH @"/entryui.htm"//违约记录列表
#define CYENTERSHOOPURL @"/getLoginUrl.htm" // 积分服务器地址
#define CYSHOPSOURCESURL @"/getAllPointByUserId.htm" //积分地址
#define CYSHOPADDSOURCESURL @"/addCredit.htm" //增加积分
#define CYSHOPGETDETAILMISSION @"/getDetailMission.htm" //积分任务列表
#define CYGETCURRENTCONTACTS @"/getCurrentContacts.htm" //获取网络联系人数据量接口
#define SAVECONTACTS @"/saveContacts.htm" //保存联系人入口
//#define GETRANDOMLINKPHONE @"/getRandomLinkPhone.htm" 
#define SAVEHEADIMAGES @"/saveHeadImages.htm" //保存图片
#define GETCONTACTSBYUSERID @"/getContacts.htm" //恢复
#define GETNEWVERSIONTIME @"/getNewVersionTime.htm" //最新version
#define CYPUSHPATHBYPAGE @"/getPushListByIos.htm" //公告
#define CYPUSHPATHBYUSERID @"/getPushListByUserId.htm"//个人消息
#define CYGETCOMPANYORDERNUMBER @"getCompanyRechargeOrder.htm"//获取公司订单号
//#define CYGETUERTORDERNUMBER @"getUserRechargeOrder.htm" //获取个人订单号

@interface CYURL ()

@end

@implementation CYURL

+ (instancetype)shared {
    static CYURL *cyurl = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        cyurl = [[[self class] alloc] init];
    });
    return cyurl;
}
//高级认证开关，获取到1则进入webview界面，为0则用原生界面
-(NSString *)getJuHeH5Status{
     return CYUserServletPath(@"/juhe/getJuHeH5Status.htm");
     
}

//获取level规则图片
-(NSString *)getLevelPic{
     return CYUserServletPath(@"/getLevelPic.htm");
}

//广告图获取
-(NSString *)getAdPic{
     return CYUserServletPath(@"/getAdPic.htm");
     
}

//新的高级收费认证接口
//公积金地区获取
-(NSString *)getFoundArea{
     return CYUserServletPath(@"/juhe/getFoundArea.htm");
     
}
//社保地区获取
-(NSString *)getSecurityArea{
     return CYUserServletPath(@"/juhe/getSecurityArea.htm");
     
}

//0获取状态接口 userId+token
-(NSString *)getJuHeStatus{
     return CYUserServletPath(@"/juhe/getJuHeStatus.htm");
     
}

//1学历认证 参数:userId+token
-(NSString *)saveJuHeDegree{
     return CYUserServletPath(@"/juhe/saveJuHeDegree.htm");
     
}
//2银行卡消费接口 参数:userId+token
-(NSString *)saveJuHeBankCard{
     return CYUserServletPath(@"/juhe/saveJuHeBankCard.htm");
     
}
//3寻程户籍地址 参数:userId+token
-(NSString *)saveJuHeRegister{
     return CYUserServletPath(@"/juhe/saveJuHeRegister.htm");
     
}
//4获取运营商 参数:userId+token
-(NSString *)saveJuHeMno{
     return CYUserServletPath(@"/juhe/saveJuHeMno.htm");
     
}
//5获取驾驶证 userId+token+jszh（驾驶证号）
-(NSString *)saveJuHeDrive{
     return CYUserServletPath(@"/juhe/saveJuHeDrive.htm");
     
}
//6婚姻状况 userId+token
-(NSString *)saveJuHeMarrage{
     return CYUserServletPath(@"/juhe/saveJuHeMarrage.htm");
     
}
//7职业资格证书 userId+token
-(NSString *)saveJuHeProfession{
     return CYUserServletPath(@"/juhe/saveJuHeProfession.htm");
     
}
//8行车证认证接口 待定
-(NSString *)saveJuHeCar{
     return CYUserServletPath(@"/juhe/saveJuHeCar.htm");
     
}
//9乘机人统计 userId+token
-(NSString *)saveJuHeFly{
     return CYUserServletPath(@"/juhe/saveJuHeFly.htm");
     
}
//10公积金查询1 分两步：返回值：message为success，data为0的话，还需要输入短信验证码调用saveJuHeFundSecond接口 参数 userId+token
-(NSString *)saveJuHeFundFirst{
     return CYUserServletPath(@"/juhe/saveJuHeFundFirst.htm");
     
}
//10公积金查询2 参数：userId+token+smsCode  //不加密处理
-(NSString *)saveJuHeFundSecond{
     return CYUserServletPath(@"/juhe/saveJuHeFundSecond.htm");
}

//11社保查询1 userId+toke + username（社保账号） + password（社保密码） + area(地区)
-(NSString *)saveJuHeSecurityFirst{
     return CYUserServletPath(@"/juhe/saveJuHeSecurityFirst.htm");
     
}
//11社保查询2 (1的data为0的时候调用)
-(NSString *)saveJuHeSecuritySecond{
     return CYUserServletPath(@"/juhe/saveJuHeSecuritySecond.htm");
     
}
//12运营商账单 传参：userId + token + password(手机服务密码)
//返回值：message为success，data为0的话，还需要输入短信验证码调用
-(NSString *)saveJuHeMnoAccountFirst{
     return CYUserServletPath(@"/juhe/saveJuHeMnoAccountFirst.htm");
    
}
//12运营商账单 传参：userId+token+smsCode
-(NSString *)saveJuHeMnoAccountSecond{
     return CYUserServletPath(@"/juhe/saveJuHeMnoAccountSecond.htm");
     
}

//13央行征信1 传参：userId + token + username + password + middleAuthCode(央行征信身份验证码)
//返回值：message为success，data为0的话，还需要输入短信验证码调用
-(NSString *)saveJuHeBankCreditFirst {
     return CYUserServletPath(@"/juhe/saveJuHeBankCreditFirst.htm");
     
}
//13央行征信2
-(NSString *)saveJuHeBankCreditSecond {
     return CYUserServletPath(@"/juhe/saveJuHeBankCreditSecond.htm");
     
}

//14京东1 传参：userId + token + username(账号) +password(密码)
-(NSString *)saveJuHeJingDongFirst {
     return CYUserServletPath(@"/juhe/saveJuHeJingDongFirst.htm");
     
}
//14京东2 返回值：message为success，data为0的话，还需要输入短信验证码调用 传参：userId+token+smsCode
-(NSString *)saveJuHeJingDongSecond{
     return CYUserServletPath(@"/juhe/saveJuHeJingDongSecond.htm");
     
}
-(NSString *)saveJuHeTaoBao{
     return CYUserServletPath(@"/apix/saveApixTaoBao.htm");
     
}

//催收发布
-(NSString *)saveAppDefaulter{
     return CYCuishouPath (@"/app/saveAppDefaulter.htm");
}

//催收查询
-(NSString *)getAppDefaulterList{
     return CYCuishouPath(@"/app/getAppDefaulterList.htm");
     
}

//催收记录
-(NSString *)getAppDefaulterPayBack{
     return CYCuishouPath(@"/app/getAppDefaulterPayBack.htm");
     
}

//催收下架
-(NSString *)outAppDefaultter{
     return CYCuishouPath(@"/app/outAppDefaultter.htm");
     
}

//催收删除
-(NSString *)updateAppDisplayId{
     return CYCuishouPath(@"/app/updateAppDisplayId.htm");
     
}

//查询图片
-(NSString *)getEvidencePhotos{
     return CYCuishouPath(@"/app/getEvidencePhotos.htm");
     
}


//购买提示
-(NSString *)getUpgradeMsg{
     return CYUserServletPath(@"/getUpgradeMsg.htm");
     
}

//获取升级卡购买状态
-(NSString *)getCreditupGradeApply{
     return CYUserServletPath(@"/getCreditupGradeApply.htm");
     
}

//升级卡购买
-(NSString *)addCreditupGradeApply{
     return CYUserServletPath(@"/addCreditupGradeApply.htm");
     
}

//新的资金明细
-(NSString *)getAccountDetailsMemo{
     return  CYUserServletPath(@"/getAccountDetailsMemo.htm");
     
}

//zmf提示
-(NSString *)getZhimafenMemo{
     return CYUserServletPath(@"/getZhimafenMemo.htm");
     
}

//yzm提现
-(NSString *)withDrawCheckCode{
     return CYUserServletPath(@"/withDrawCheckCode.htm");
     
}

//夺宝开关 0关 1开
-(NSString *)getDuobao{
     return CYUserServletPath(@"/getDuobao.htm");
}

//优享系统开关
-(NSString *)getVip{
     return CYUserServletPath(@"/getVip.htm");
     
}

//支付宝充值
-(NSString *)saveZhifubaoTradeRecharge{
     return  CYUserServletPath(@"/saveZhifubaoTradeRecharge.htm");
     
}

//获取运营商分数接口/状态
-(NSString *)getMnoScore{
     return CYUserServletPath(@"/getMnoScore.htm");
     
}

//保存运营商接口
-(NSString *)saveMno{
     return CYUserServletPath(@"/saveMno.htm");
     
}

//查询是否扣费
-(NSString *)getExamineAccount{
     return CYUserServletPath(@"/getExamineAccount.htm");
}

//扣费
-(NSString *)saveExamineMoney{
     return CYUserServletPath(@"/saveExamineMoney.htm");
     
}

//用户资料图片上传
-(NSString *)uploaduserPic{
     return CYUserServletPath(@"/uploadPic.htm");
}

//芝麻分开关
- (NSString *)getZhimafenSwitch{
     return CYUserServletPath(@"/getZhimafenSwitch.htm");
     
}

//备注码
- (NSString *)getRechargeNo{
     return CYUserServletPath(@"/getRechargeNo.htm");
     
}

//图片压缩接口
- (NSString *)iosImageCompress{
     return CYUserServletPath(@"/iosImageCompress.htm");
     
}

//发现栏目轮播图获取
- (NSString *)getAd{
     return  CYUserServletPath(@"/getAd.htm");
}

//支付宝展示与否状态  
- (NSString *)getZhifubao{
     return CYUserServletPath(@"/getZhifubao.htm");
}

//芝麻分授权状态
- (NSString *)getCreditZmxy{
     return CYUserServletPath(@"/getCreditZmxy.htm");
     
}

//获取授权需要的参数
- (NSString *)generateZMXY{
     return CYUserServletPath(@"/generateZMXY.htm");
     
}

//获取分数
- (NSString *)getZmxyScore{
     return CYUserServletPath(@"/getZmxyScore.htm");
     
}

//是否展示信用系统数据 appstore 备用， 1为不展示，2展示
- (NSString *)getCredit{
     return CYServletPath(@"/getCredit.htm");
}

//联系人烟雾弹
- (NSString *)getRandomLinkPhone{
     return CYCloudPath(@"/getRandomLinkPhone.htm");
}

//新实名认证接口
- (NSString *)saveCertificateInfoApix{
     return CYUserServletPath(@"/saveCertificateInfoApix.htm");
     
}

//获取是否需要验证商实名
- (NSString *)getMnoAndroid{
     return CYUserServletPath(@"/getMnoAndroid.htm");
}

//获取审核微信信息
- (NSString *)getWeiXin{
     return CYUserServletPath(@"/getWeiXin.htm");
     
}

//强制更新
- (NSString *)updateVersion{
    return CYUserServletPath(@"/updateVersion.htm");
}

//必填类补填图片
- (NSString *)getGeneralInfoPics{
    return CYUserServletPath(@"/getGeneralInfoPics.htm");
}
//身份证正面照地址
- (NSString *)certificateNoZAddress {
     return CYUserServletPath(@"/certificateNoZAddress.htm");
}

//查询工作类图片
- (NSString *)getWorkInfoPics{
    return CYUserServletPath(@"/getWorkInfoPics.htm");
}
- (NSString *)getAssetInfoPics{
    return CYUserServletPath(@"/getAssetInfoPics.htm");
}
- (NSString *)getProveInfoPics{
    return CYUserServletPath(@"/getProveInfoPics.htm");
}
- (NSString *)getSocialInfoPics{
    return CYUserServletPath(@"/getSocialInfoPics.htm");
}

- (NSString *)getCreditLevel{
    return CYUserServletPath(@"/getCreditLevel.htm");
    
}
- (NSString *)getExamineStatus{
    return CYUserServletPath(@"/getExamineStatus.htm");
    
}
- (NSString *)addGeneralInfoPic{
    return CYUserServletPath(@"/addGeneralInfoPic.htm");
}

//信用分值计算
- (NSString *)saveCreditMachine{
    return CYUserServletPath(@"/saveCreditMachine.htm");
    
}

//银行卡实名认证（新的绑定接口）
- (NSString *)checkCertificateNoAndBandCard{
    return CYUserServletPath(@"/checkCertificateNoAndBandCard.htm");
    
}
//查询level
- (NSString *)getCreditLevelByPhone{
    return CYUserServletPath(@"/getCreditLevelByPhone.htm");
    
}

//查询历史提交记录
- (NSString *)getExaminePics{
    return CYUserServletPath(@"/getExaminePics.htm");
}

/**
 *  额度资料个人类上传
 */
- (NSString *)saveProveInfo{
    return CYUserServletPath(@"/saveProveInfo.htm");
    
}
/**
 *  额度资料资产类上传
 */

- (NSString *)saveAssetInfo{
    return CYUserServletPath(@"/saveAssetInfo.htm");
}
/**
 *  额度资料工作类上传
 */
- (NSString *)saveWorkInfo{
    return CYUserServletPath(@"/saveWorkInfo.htm");
}

/**
 * 其他类上传
 */
- (NSString *)saveSocialInfo{
    return CYUserServletPath(@"/saveSocialInfo.htm");
    
}
/**
 *  额度上传类状态
 */
- (NSString *)getProveInfoStatus{
    return CYUserServletPath(@"/getProveInfoStatus.htm");
}
- (NSString *)getWorkInfoStatus{
    return CYUserServletPath(@"/getWorkInfoStatus.htm");
}
- (NSString *)getSocialInfoStatus{
    return CYUserServletPath(@"/getSocialInfoStatus.htm");
}
- (NSString *)getAssetInfoStatus{
    return CYUserServletPath(@"/getAssetInfoStatus.htm");
}
- (NSString *)getGeneralInfoStatus{
    return CYUserServletPath(@"/getGeneralInfoStatus.htm");
}
/**
 *  交易密码绑定
 */
- (NSString *)bandDealCode{
    return CYUserServletPath(@"/bandDealCode.htm");
}
//验证交易密码状态
- (NSString *)getDealCodeStatus{
    return CYUserServletPath(@"/getDealCodeStatus.htm");
}
/**
 *  银行卡绑定
 */
- (NSString *)bandCard{
    return CYUserServletPath(@"/bandCard.htm");
}
//验证银行卡绑定状态
- (NSString *)getBandCardStatus{
    return CYUserServletPath(@"/getBandCardStatus.htm");
}
/**
 *  提现
 */
- (NSString *)withDraw{
    return CYUserServletPath(@"/withDraw.htm");
}
/**
 *  收益转余额
 */
- (NSString *)incomeToBalance{
    return CYUserServletPath(@"/incomeToBalance.htm ");
    
}
//收益明细
- (NSString *)getAccountDetails{
    return CYUserServletPath(@"/getAccountDetails.htm");
}
/**
 *  会朝充值
 */
- (NSString *)userRecharge{
    return CYUserServletPath(@"/userRecharge.htm");
}
//普通类
- (NSString *)saveGeneralInfo{
    return CYUserServletPath(@"/saveGeneralInfo.htm");
}

//必填类修改
- (NSString *)saveGeneralInfoAuto{
     return CYUserServletPath(@"/saveGeneralInfoAuto.htm");
}

//获取qq号
- (NSString *)getQQ{
    return CYUserServletPath(@"/getQQ.htm");
}

/**
 *  发布删除
 */
- (NSString *)deleteNetworkCollectRecord{
    return CYServletPath(@"/networkCollectRecord/deleteNetworkCollectRecord.htm");
    
}
/**
 *  个人发布展示列表
 */
- (NSString *)getnetworkcollectrecordsbyUserid{
    
    return CYServletPath(@"/networkCollectRecord/getNetworkCollectRecordsByUserId.htm");
}

/**
 *  权威发布展示列表
 */

- (NSString *)entryui{
    return CYServletPath(@"/entryui.htm");
}

/**
 *  贷款信息列表
 */
- (NSString *)loanList {
    return CYUserServletPath(@"/app/loanList.htm");
}

/**
 *  还款信息列表
 */
- (NSString *)payBackList {
    return CYAssetPath(@"payBack/payBackList.htm");
}
/**
 *  借款人信息
 */
- (NSString *)loanUser {
    return CYAssetPath(@"payBack/loanUser.htm");
}
/**
 *  还款界面
 */
- (NSString *)payBack {
    return CYAssetPath(@"payBack/payBack.htm");
}
/**
 *  保存还款记录
 */
- (NSString *)savePayBackDetail {
    return CYAssetPath(@"payBack/savePayBackDetail.htm");
}
/**
 *  分期还款记录还款详细列表
 */
- (NSString *)payBackDetail {
    return CYAssetPath(@"payBack/payBackDetail.htm");
}
/**
 *  全部的还款记录列表
 */
- (NSString *)allPayBackDetail {
    return CYAssetPath(@"payBack/allPayBackDetail.htm");
}
/**
 *  获取提现额度
 */
- (NSString *)getCreditCeiling {
    return CYAssetPath(@"withdraw/getCreditCeiling.htm");
}
/**
 *  提现申请
 */
- (NSString *)withdrawApply {
    return CYAssetPath(@"withdraw/withdrawApply.htm");
}
/**
 *  获取用户所有的银行卡绑定信息
 */
- (NSString *)getCardList {
    return CYAssetPath(@"withdraw/getCardList.htm");
}
/**
 *  用户资金明细
 */
- (NSString *)accountdetail {
    return CYAssetPath(@"withdraw/accountdetail.htm");
}

/**
 *  发送短信验证码
 */
- (NSString *)sendSMS {
    return CYAssetPath(@"sendSMS.htm");
}
/**
 *  验证用户登录和查询用户的审批状态,0:用户，1企业
 */
- (NSString *)getUserStatus {
    return CYUserServletPath(@"/carInfo/getUserStatus.htm");
}

#pragma mark - 车贷联盟
/*!
 *  车贷联盟获取查询页面
 */
- (NSString *)simpleLoanList {
    return CYUserServletPath(@"/simpleLoan/simpleLoanList.htm");
}



#pragma mark - 租车
/**
 *  企业注册
 */
- (NSString *)reg {
    return CYUserServletPath(@"/carInfo/reg.htm");
}
- (NSString *)saveReword{
    return CYUserServletPath(@"/simpleLoan/saveReword.htm");
}
/**
 *  验证租车企业是否已经存在
 */
- (NSString *)checkCarCompanyUser {
    return CYUserServletPath(@"/carInfo/checkCarCompanyUser.htm");
}
/**
 *  企业登录
 */
- (NSString *)login {
    return CYUserServletPath(@"/carInfo/login.htm");
}
/**
 *  添加车辆信息
 */
- (NSString *)addCarInfo {
    return CYUserServletPath(@"/carInfo/addCarInfo.htm");
}
/*!
 *  获取此企业录入的loan
 */
- (NSString *)getLoanListByCompany {
    return CYUserServletPath(@"/simpleLoan/getLoanListByCompany.htm");
}
/*!
 *  查看自己申请的悬赏
 */
- (NSString *)getOwnRewoard {
    return CYUserServletPath(@"/simpleLoan/getOwnRewoard.htm");
}
/*!
 *  申诉
 */
- (NSString *)handleAppeal {
    return CYUserServletPath(@"/simpleLoan/handleAppeal.htm");
}
- (NSString *)handleReward{
    return CYUserServletPath(@"/simpleLoan/handleReward.htm");
}

/*!
 *  悬赏支付
 * 此方法都是处理金融公司贷款的
 */
- (NSString *)payApply {
    return CYUserServletPath(@"/simpleLoan/payApply.htm");
}
/*!
 *  取消支付,车贷联盟我的发布中使用
 */
- (NSString *)cancelPay {
    return CYUserServletPath(@"/simpleLoan/cancelPay.htm");
}
/*!
 *  获取展示
 */
- (NSString *)getDisplay {
    return CYUserServletPath(@"/simpleLoan/getDisplay.htm");
}
/*!
 *  企业版车贷联盟获取查询结果
 */
- (NSString *)getLoanSearch {
    return CYUserServletPath(@"/simpleLoan/getLoanSearch.htm");
}
/**
 *  生成企业充值订单号
 */
- (NSString *)getCompanyRechargeOrder{
    return CYUserServletPath(@"/getCompanyRechargeOrder.htm");
}
/*!
 *  @brief  企业充值
 */
- (NSString *)companyRecharge {
    return CYUserServletPath(@"/companyRecharge.htm");
}


/**
 *  修改车辆信息
 */
- (NSString *)updateCarInfo {
    return CYUserServletPath(@"/carInfo/updateCarInfo.htm");
}
/**
 *  删除车辆信息
 */
- (NSString *)deleteCarInfo {
    return CYUserServletPath(@"/carInfo/deleteCarInfo.htm");
}
/**
 *  车辆信息列表
 */
- (NSString *)carInfoList {
    return CYUserServletPath(@"/carInfo/carInfoList.htm");
}
/**
 *  验证车牌号码是否已经存在
 */
- (NSString *)checkPlateNumber {
    return CYUserServletPath(@"/carInfo/checkPlateNumber.htm");
}
/**
 *  根据车牌号码查询车辆信息
 */
- (NSString *)getCarInfoByPlateNumber {
    return CYUserServletPath(@"/carInfo/getCarInfoByPlateNumber.htm");
}
/**
 *  添加租车信息
 */
- (NSString *)addCarRental {
    return CYUserServletPath(@"/carRental/addCarRental.htm");
}
/**
 *  根据companyId查询企业帐目帐户余额
 */
- (NSString *)getCompanyAccountBalance {
    return CYUserServletPath(@"/carCompanyAccount/getCompanyAccountBalance.htm");
}
/**
 *  根据userId查询租车风险金帐户信息
 */
- (NSString *)getCarCompanyAccountByCompanyId {
    return CYUserServletPath(@"/carCompanyAccount/getCarCompanyAccountByCompanyId.htm");
}
/**
 *  企业租车风险金帐号充值
 */
- (NSString *)carCompanyAccountRecharge {
    return CYUserServletPath(@"/carCompanyAccount/carCompanyAccountRecharge.htm");
}
/**
 *  查询配置文件中配置的最底押金
 */
- (NSString *)getCompanySetDeposit {
    return CYUserServletPath(@"/carCompanyAccount/getCompanySetDeposit.htm");
}
/**
 *  根据设定的比例计算出可用额度
 */
- (NSString *)getCompanyCarReward {
    return CYUserServletPath(@"/carCompanyAccount/getCompanyCarReward.htm");
}
/**
 *  发布的租车信息列表
 */
- (NSString *)carRentalList {
    return CYUserServletPath(@"/carRental/carRentalList.htm");
}
/**
 *  根据userId查询查询个人帐目帐户余额
 */
- (NSString *)getUserAccountBalance {
    return CYUserServletPath(@"/carUserAccount/getUserAccountBalance.htm");
}
/**
 *  根据userId查询租车风险金帐户信息
 */
- (NSString *)getCarUserAccountByUserId {
    return CYUserServletPath(@"/carUserAccount/getCarUserAccountByUserId.htm");
}
/**
 *  租车风险金帐号充值
 */
- (NSString *)carUserAccountRecharge {
    return CYUserServletPath(@"/carUserAccount/carUserAccountRecharge.htm");
}
/**
 *  查询配置文件中配置的最底押金
 */
- (NSString *)getUserSetDeposit {
    return CYUserServletPath(@"/carUserAccount/getUserSetDeposit.htm");
}
/**
 *  根据设定的比例计算出可用额度
 */
- (NSString *)getUserCarReward {
    return CYUserServletPath(@"/carUserAccount/getUserCarReward.htm");
}
/**
 *  更新租车信息的发布状态
 */
- (NSString *)updateStatus {
    return CYUserServletPath(@"/carRental/updateStatus.htm");
}
/**
 *  根据身份证号码或电话号码或车牌号码查询
 */
- (NSString *)creditQuery {
    return CYUserBaseServletPath(@"/app/creditQuery.htm");
}

- (NSString *)getCompanyUser {
    return CYUserServletPath(@"/carInfo/getCompanyUser.htm");
}

#pragma mark - 消息推送
/**
 *根据page获取公告列表
 */
- (NSString *)getPushListByIos{
    return CYUserServletPath(@"/push/getPushListByIos.htm");
}
/**
 *根据page获取公告列表
 */
- (NSString *)getPushListByUserId{
    return CYUserServletPath(@"/push/getPushListByUserId.htm");
}

#pragma mark - 充值
/**
 *  生成个人充值订单号
 */
- (NSString *)getUserRechargeOrder{
    return CYUserServletPath(@"/getUserRechargeOrder.htm");
}

#pragma mark - 黑名单
/**
 *  根据姓名或者性别或者地域进行疑似联系人筛选
 */
- (NSString *)getDefaultRecordsByCityAndSex {
    return CYServletPath(@"/getDefaultRecordsByCityAndSex.htm");
}
/**
 *  审核通过的网络收集违约人列表
 */
- (NSString *)getNetworkCollectRecords {
    return CYServletPath(@"/networkCollectRecord/getNetworkCollectRecords.htm");
}
/**
 *  查询审核通过的违约记录数
 */
- (NSString *)getAuditNetworkCollectRecordNum {
    return CYServletPath(@"/networkCollectRecord/getAuditNetworkCollectRecordNum.htm");
}
/**
 *  根据身份证号、姓名、号码等进行查询网络违约人信息
 */
- (NSString *)getNetworkCollectRecordsBySearch {
    return CYServletPath(@"/networkCollectRecord/getNetworkCollectRecordsBySearch.htm");
}
/**
 *  根据id查询违约人详细信息
 */
- (NSString *)getAuditNetworkCollectRecordsById {
    return CYServletPath(@"/networkCollectRecord/getAuditNetworkCollectRecordsById.htm");
}
/**
 *  保存申述信息
 */
- (NSString *)saveAllege {
    return CYServletPath(@"/saveAllege.htm");
}
/**
 *  添加网络收集违约人
 */
- (NSString *)addNetworkCollectRecord {
    return CYServletPath(@"/networkCollectRecord/addNetworkCollectRecord.htm");
}

#pragma mark -
+ (NSString *)testUrl {
    return @"https://alpha-api.app.net/stream/0/posts/stream/global";
}

+ (NSString *)LoginPath {
    return [CYUSERSTATICPATH stringByAppendingString:CYLOGINPATH];
}

+ (NSString *)RegeditPath {
    return [CYUSERSTATICPATH stringByAppendingString:CYREGEDITPATH];
}

+ (NSString *)CheckUserNamePath {
    return [CYUSERSTATICPATH stringByAppendingString:CYCHECKUSERNAMEPATH];
}

+ (NSString *)SendSmsPath {
    return [CYUSERSTATICPATH stringByAppendingString:CYSENDSMSPATH];
}

+ (NSString *)findPasswordPath {
    return [CYUSERSTATICPATH stringByAppendingString:CYFINDPASSWORDPATH];
}

+ (NSString *)modifyPasswordPath {
    return [CYUSERSTATICPATH stringByAppendingString:CYMODIFYPASSWORDPATH];
}

+ (NSString *)updateUserPath {
    return [CYUSERSTATICPATH stringByAppendingString:CYUPDATAUSERPATH];
}

+ (NSString *)userPath {
    return [CYUSERSTATICPATH stringByAppendingString:CYUSERPATH];
}
/**
 *  用户图片上传
 */
+ (NSString *)updateHeadPicrPath {
    return [CYUPLOADPATH stringByAppendingString:CYUPDATAHEADPICPATH];
}
/**
 *  黑名单图片上传
 */
+ (NSString *)uploadPicPath {
    return [CYUPLOADPATH stringByAppendingString:CYUPLOADPICPATH];
}

+ (NSString *)saveUserPath {
    return [CYUSERSTATICPATH stringByAppendingPathComponent:CYSAVEUSERPATH];
}

+ (NSString *)newDefaultsPath {
    return [CYSTATICPATH stringByAppendingString:CYNEWDEFAULTSPATH];
}

+ (NSString *)defaultRecordsBySearchPath {
    return [CYSTATICPATH stringByAppendingString:CYDEFAULTRECORDSSEARCHPATH];
}

+ (NSString *)defaultRecordsPath {
    return [CYSTATICPATH stringByAppendingString:CYDEFAULTRECORDSPATH];
}

+ (NSString *)defaultRecordsByDefaultIdPath {
    return [CYSTATICPATH stringByAppendingString:CYDEFAULTRECORDSBYIDPATH];
}

+ (NSString *)totalCountPath {
    return [CYSTATICPATH stringByAppendingString:CYTOTALCOUNTPATH];
}

+ (NSString *)ysDefaultPersonsPath {
    return [CYSTATICPATH stringByAppendingPathComponent:CYYSDEFAULTPERSONSPATH];
}

+ (NSString *)defaultRecordsByNamePath {
    return [CYSTATICPATH stringByAppendingPathComponent:CYDEFAULTRECORDSBYNAMEPATH];
}

+ (NSString *)payBacksPath {
    return [CYSTATICPATH stringByAppendingPathComponent:CYPAYBACKSPATH];
}

+ (NSString *)imageSelectPagePath {
    return [CYSTATICPATH stringByAppendingPathComponent:CYIMAGESELECTPAGEPATH];
}

+ (NSString *)imageSelectOnePath {
    return [CYSTATICPATH stringByAppendingPathComponent:CYIMAGESELECTONEPATH];
}

+ (NSString *)saveDefaultRecordPath {
    return CYServletPath(CYSAVEDEFAULTRECORDPATH);
//    return CYSTATICPATH;
}

+ (NSString *)editDefaultPath {
    return CYServletPath(CYEDITDEFAULTRECORDPATH);
}

+ (NSString *)delRecordPath {
    return CYServletPath(CYDELDEFAULTRECORDPATH);
}

+ (NSString *)cancelRecordPath {
    return CYServletPath(CYCANCELDEFAULTRECORDPATH);
}

+ (NSString *)getDefaultPicsPath {
    return CYServletPath(CYPICSDEFAULTRECORDPATH);
}

+ (NSString *)submitRecordPath {
    return CYServletPath(CYSUBMITDEFAULTRECORDPATH);
}

+ (NSString *)entryuiPath {
    return CYServletPath(CYENTRYUIPATH);
}

+ (NSString *)ShopAddress{
    return CYServletPath(CYENTERSHOOPURL);
}

+ (NSString *)getAllPointByUserId{
    return CYServletPath(CYSHOPSOURCESURL);
}

+ (NSString *)addCredit{
    return  CYServletPath(CYSHOPADDSOURCESURL);
}

+ (NSString *)getDetailMission{
    return CYServletPath(CYSHOPGETDETAILMISSION);
    
}

+ (NSString *)getCurrentContacts{
    return CYCloudPath(CYGETCURRENTCONTACTS);

}

+ (NSString *)saveContacts{
    return CYCloudPath(SAVECONTACTS);
    
}



+ (NSString *)saveHeadImages{
    return CYCloudPath(SAVEHEADIMAGES);
    
}

+ (NSString *)getContactsByUserId{
    return CYCloudPath(GETCONTACTSBYUSERID);
    
}

+ (NSString *)getNewVersionTime{
    return CYCloudPath(GETNEWVERSIONTIME);
}
@end
